//
//  SHCourierQuotationListCell.h
//  youjian03
//
//  Created by Dadeso on 14/10/27.
//  Copyright (c) 2014年 com.shouhuobao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SHCourierQuotationListModel.h"
#import "MLPlayVoiceButton.h"

typedef enum{
    ButtonTagLeft = 0,
    ButtonTagRight,
    ButtonTagPlayVoiceTypeOne,
    ButtonTagPlayVoiceTypeTwo,
    ButtonTagPlayCall,
}BtnBackStatedCell;

@protocol SHCourierQuotationListCellDelegate <NSObject>

-(void)makeSureZheCourier:(NSInteger) indexPathRow;;

-(void)refuseZheCourier:(NSInteger) indexPathRow;

-(void)payCashMoney;

-(void)onlinePayWithToken:(NSString *)token anddeliverId:(NSString *)deliverId;

@end


@interface SHCourierQuotationListCell : UITableViewCell

@property (nonatomic,retain) UIImageView * headico;
@property (nonatomic,retain) UILabel * name;
@property (nonatomic,retain) UILabel * companyName;
@property (nonatomic,retain) UIImageView * starUp;
@property (nonatomic,retain) UIImageView * starDown;
@property (nonatomic,retain) UILabel * offerTime;
@property (weak,nonatomic)   MLPlayVoiceButton * playVoiceTypeOneImage;
@property (weak,nonatomic)   MLPlayVoiceButton * playVoiceTypeTwoImage;
@property (nonatomic,retain) UIButton * playPhoneTypeTwoImage;
@property (nonatomic,retain) UIButton * leftOfferButton;
@property (nonatomic,retain) UIButton * rightOfferButton;
@property (nonatomic,copy)   NSString * cellType;
@property (nonatomic,retain) UIView * midLineView;
@property (weak,nonatomic)   MLPlayVoiceButton * typeOnePlayButton;
@property (nonatomic,assign) id<SHCourierQuotationListCellDelegate>delegate;
@property (nonatomic,retain) SHCourierQuotationListModel * cellDataModel;

-(void)loadCell:(NSMutableArray *)dataModelArray IndexPath:(NSInteger) indexPathV cellType:(NSString *) loadCellType;

@end
